<template>
    <!-- 面包屑 -->
      <el-breadcrumb separator="/">

    <el-breadcrumb-item v-for="(item, index) in route.matched" :key="index" :to="item.path">
         {{ item.meta.title }}
    </el-breadcrumb-item>
  </el-breadcrumb>
</template>
<script setup lang="ts">
  import { useRoute,useRouter } from 'vue-router';
  const route = useRoute();
  // const router = useRouter();
  // console.log(route.matched[0].children,'route');
  // console.log(router,'router');
  
     
</script>